#include <REGX52.H>
#include <INTRINS.h>
#include "Key.h"
#include "Nixie.h"
#include "Delay.h"
#include "Buzzer.h"


unsigned char KeyNum;

void main()
{
	Nixie(1,0);
		while(1)
		{
		  KeyNum = Key();
			if(KeyNum)
			{
				Buzzer_Time(100);
			  Nixie(1,KeyNum);
			}
		}
}